home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / RCS / swapBuffer.h,v < prev    next >
Encoding:
Text File  |  1990-03-29  |  1.8 KB  |  100 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.3
  10. date     90.03.29.12.45.03;  author mendel;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     89.02.25.13.06.49;  author mgbaker;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     88.09.13.11.16.29;  author brent;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @Definitions of byte swapping types.
  27. @
  28.  
  29.  
  30. 1.3
  31. log
  32. @Mary checking this in for mendel before an install.  Do we even use
  33. this anymore?
  34. @
  35. text
  36. @/*
  37.  * swapBuffer.h --
  38.  *
  39.  *    Declarations of public routines for byte-swapping data and
  40.  *    calculating byte-swapped data size.
  41.  *
  42.  * Copyright 1988 Regents of the University of California
  43.  * Permission to use, copy, modify, and distribute this
  44.  * software and its documentation for any purpose and without
  45.  * fee is hereby granted, provided that the above copyright
  46.  * notice appear in all copies.  The University of California
  47.  * makes no representations about the suitability of this
  48.  * software for any purpose.  It is provided "as is" without
  49.  * express or implied warranty.
  50.  *
  51.  * $Header: /sprite/src/lib/include/RCS/swapBuffer.h,v 1.2 89/02/25 13:06:49 mgbaker Exp Locker: mendel $ SPRITE (Berkeley)
  52.  */
  53.  
  54. #ifndef _SWAP
  55. #define _SWAP
  56.  
  57. /* constants */
  58.  
  59. /* data structures */
  60.  
  61. /* procedures */
  62.  
  63. #define SWAP_SUN_TYPE    0
  64. #define    SWAP_VAX_TYPE    1
  65. #define    SWAP_SPUR_TYPE    2
  66. #define    SWAP_SPARC_TYPE    SWAP_SUN_TYPE
  67.  
  68. extern    void    Swap_Buffer();
  69. extern    void    Swap_BufSize();
  70.  
  71. #endif /* _SWAP */
  72. @
  73.  
  74.  
  75. 1.2
  76. log
  77. @Added SWAP_SPARC_TYPE since it has different alignment properties
  78. from the other suns.
  79. @
  80. text
  81. @d16 1
  82. a16 1
  83.  * $Header: /sprite/src/lib/include/RCS/swapBuffer.h,v 1.1 88/09/13 11:16:29 brent Exp Locker: mgbaker $ SPRITE (Berkeley)
  84. d31 1
  85. a31 1
  86. #define    SWAP_SPARC_TYPE    2
  87. @
  88.  
  89.  
  90. 1.1
  91. log
  92. @Initial revision
  93. @
  94. text
  95. @d16 1
  96. a16 1
  97.  * $Header: proto.h,v 1.2 88/03/11 08:39:40 ouster Exp $ SPRITE (Berkeley)
  98. d31 1
  99. @
  100.